How have home run rates changed over time?
How have home run rates changed? Are there more homeruns now than ever?
In order to look at baseball data in R, we need a good baseball database. Luckily one exists for R already - the Lahman dataset
In fact, there’s even an R package available for it thanks to Chris Dalzell and his team
Let’s use this dataset to figure out if homerun rates are high now compared to historical data. First, what’s the average rate of home runs per plate appearance over time? Checking the data…
For attribution, please cite this work as
andrewstiegler (2022, Sept. 1). the data doctoR: What's up with homeruns?. Retrieved from https://andrewstiegler.github.io/posts/2022-09-01-post-3/
BibTeX citation
@misc{andrewstiegler2022what's,
author = {andrewstiegler, },
title = {the data doctoR: What's up with homeruns?},
url = {https://andrewstiegler.github.io/posts/2022-09-01-post-3/},
year = {2022}
}